package com.xsp.dao;

import com.xsp.entity.BookInfo;

import java.util.List;

public interface BookInfoDao {
    int deleteByPrimaryKey(Integer bookId);

    int insert(BookInfo record);

    int insertSelective(BookInfo record);

    BookInfo selectByPrimaryKey(Integer bookId);

    int updateByPrimaryKeySelective(BookInfo record);

    int updateByPrimaryKey(BookInfo record);

    List<BookInfo> selectByName(String name);

    List<BookInfo> list();
}